Skip to content

Conversation

@Jalina2007
Copy link

@Jalina2007 Jalina2007 commented Oct 27, 2025

Related Issue

API resource filter is not working. #24875

Purpose

I have changed API resource search UI to sort API resources by Name instead of Cursor Key. To follow up, this change is needed to make sure that the pagination works properly.

Goals

This changes the method call from getCursorKey() to getName().

Approach

Does not directly affect UI, only fixes an error created by the related PR

Developer Checklist

  • [Behavioural Change] Does this change introduce a behavioral change to the product?
  • ↳ Approved by team lead
  • ↳ Label impact/behavioral-change added
  • [Migration Impact] Does this change have a migration impact?
  • ↳ Migration label added (e.g., 7.2.0-migration)
  • ↳ Migration issues created and linked
  • [New Configuration] Does this change introduce a new configuration?
  • ↳ Label config added
  • ↳ Configuration is properly documented

Documentation

N/A. This only changes the underlying functionality required by the UI. Please correct me if I'm wrong.

Related PRs

Adding case insensitive searching and sorting by API name to API Resource Management UI.

Test environment

JDK: openjdk version "11.0.19" 2023-04-18 LTS
OS: Windows 11 24H2
Browser: Firefox (144.0)

Copy link

@wso2-engineering wso2-engineering bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Agent Log Improvement Checklist

⚠️ Warning: AI-Generated Review Comments

  • The log-related comments and suggestions in this review were generated by an AI tool to assist with identifying potential improvements. Purpose of reviewing the code for log improvements is to improve the troubleshooting capabilities of our products.
  • Please make sure to manually review and validate all suggestions before applying any changes. Not every code suggestion would make sense or add value to our purpose. Therefore, you have the freedom to decide which of the suggestions are helpful.

✅ Before merging this pull request:

  • Review all AI-generated comments for accuracy and relevance.
  • Complete and verify the table below. We need your feedback to measure the accuracy of these suggestions and the value they add. If you are rejecting a certain code suggestion, please mention the reason briefly in the suggestion for us to capture it.
Comment Accepted (Y/N) Reason
#### Log Improvement Suggestion No: 1
#### Log Improvement Suggestion No: 2

@Malith-19
Copy link
Contributor

@Jalina2007 Can you check the build failure?

@Jalina2007
Copy link
Author

Hi @Malith-19,
The build failed due to an unnecessary toString() call after switching from getCursorKey() to getName(). I've fixed it and updated the PR.
Sorry for the oversight and thanks for your understanding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants